<?php
/**
 * Created by PhpStorm.
 * User: mac
 * Date: 2019-03-17
 * Time: 22:37
 */

use App\Service\WebSocketService;

require __DIR__.'/vendor/autoload.php';

$config = parse_ini_file('./websocket.ini');
$websocket = new WebSocketService($config);
$websocket->start();